package com.sikaryofficial.backend.domain.vo.export;

import com.univocity.parsers.annotations.Format;
import com.univocity.parsers.annotations.Parsed;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

/**
 * @author : qinjinyuan
 * @desc : TODO  请填写你的功能描述
 * @date : 2025/03/20 19:07
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class ActivityAttendExportVO {
    @Parsed(field = "参与用户ID", index = 0)
    private Long createdBy;
    @Parsed(field = "邮箱", index = 1)
    private String email;
    @Parsed(field = "昵称", index = 2)
    private String nickName;
    @Parsed(field = "用户注册时间", index = 3)
    @Format(formats = {"yyyy-MM-dd HH:mm:ss"})
    private Date registerTime;
    @Parsed(field = "活动名称", index = 4)
    private String activityName;
    @Parsed(field = "参与次数", index = 5)
    private Integer attendNum;
    @Parsed(field = "参与时间", index = 6)
    @Format(formats = {"yyyy-MM-dd HH:mm:ss"})
    private Date createdTime;

    @Parsed(field = "国家", index = 7)
    private String country;

    @Parsed(field = "积分", index = 8)
    private Long balance;
}
